solving cubic equations